<!--
    Copyright 2010 Justin Lipton, Jonathan Rosenberg
    
    This file is part of MediaList.

    MediaList is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    MediaList is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with MediaList.  If not, see <http://www.gnu.org/licenses/>.
-->

<form>
<textarea rows="10" cols="30" name="aboutme">
<?php
$file=fopen('user_profiles/' . $_GET["currentUser"] . '.txt',"r") or exit("Unable to open file!");
while(!feof($file))
{
    echo fgets($file);
}
fclose($file);
?>
</textarea>
<br />

<input type="button" name="editabout" value="Edit About Me"
    onclick="editAbout(aboutme.value,'<?php $_GET["currentUser"] ?>')" /> 
<br />
</form>